from main2 import readFile
from test2 import DocFiles
Allfiles = DocFiles('/Users/zhangxing/PycharmProjects/pythonProject/1')

# 获取所有的world文件路径
listFile = Allfiles.getPath()

targetPath = Allfiles.targetPath()
# print(targetPath)
# print(listFile[0]['path'])

# 循环遍历每个world文件
for docxFile in listFile:
    readFile(docxFile['path'],docxFile['name'])
